﻿@using Subfaculty.WebApplication.Controllers
@model IEnumerable<LoadAtomsViewModel>
@{
	ViewBag.Title = "Нагрузка";
	Layout = "~/Views/Shared/_Layout.cshtml";
	}

<fieldset class="main_fieldset">
<legend class="main_legend">Нагрузка</legend>

Нагрузка кафедры: <h3>ЭВМиС</h3> за <h3>2011 год</h3>

<br/>

@(Html.Telerik().Grid(Model)
					.Name("GridStudyArea")
					.DataKeys(keys => keys.Add(c => c.Id))
					.Columns(columns =>
				         		{
									columns.Bound(o => o.TypeLoadAtom);
									columns.Bound(o => o.Hours);
									columns.Bound(o => o.Groups);
								}
					)

					.Editable(editing => editing.Mode(GridEditMode.PopUp))
					.Scrollable(scrolling => scrolling.Enabled(true))
					.Scrollable(scrolling => scrolling.Height("600px"))
					.Sortable(sorting => sorting.Enabled(true))
					.Pageable(paging => paging.Enabled(true))
					.Filterable(filtering => filtering.Enabled(true))
					.Selectable(s => s.Enabled(true))
					.Groupable(grouping => grouping.Enabled(true))
					.Footer(true)
					)

</fieldset>
